﻿using GameCreator.Core;
using Gp.Scripts.Core;
using Gp.Scripts.GUI;
using UnityEngine;
using GUIManager = Gp.Scripts.Core.GUIManager;

namespace Gp.GCX
{
    [AddComponentMenu("")]
    public class InteractCanvasStatusAc : IAction
    {
        public override bool InstantExecute(GameObject target, IAction[] actions, int index) {
            // Global.Get<GUIManager>().SwitchCanvasDisplay(UIGroup.Interact);       
            return true;
        }
#if UNITY_EDITOR
        public new static string NAME = "Gp/测试/打开NPC的Interact";
        private const string NODE_TITLE = "打开Interact";

#endif
    }
}